//
//  receiveGiftListID.m
//  tcpoctest
//
//  Created by gump on 5/21/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import "receiveGiftListID.h"

#import "sendGiftInfo.h"

@implementation receiveGiftListID

-(void)processreceive
{
    //返回 26char(1),2char(1),分类ID char(1),
    //[礼物ID长度char(1),礼物idchar(x)]*N
    
    [logicsb ReadChar];
    
    while (logicsb.mrestLength > 0) {
        NSString *strid = [logicsb ReadUnencodeString];
        
        if (strid != nil && ![strid isEqualToString:@""]) {
            [[netManager sharedNetManager].sendgiftI sendGiftGetInfo:strid];
        }
    }
    
    [self ShowLog];
}

@end
